package org.xielei.designpatterns.structural.decorator;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * male
 * 男性（具体构件）
 *
 * @author xielei
 * @date 2020/6/28
 **/
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Male implements Human{

    private String name = "male";

    @Override
    public void show() {
        System.out.println(name + " 的装扮: ");
    }
}
